package com.iran.order.example;

/**
 * 抽象命令
 */
public abstract class Command {
    protected Barbecuner barbecuner;
    private String commandName;

    public String getCommandName() {
        return commandName;
    }

    public void setCommandName(String commandName) {
        this.commandName = commandName;
    }

    public Command(Barbecuner barbecuner) {
        this.barbecuner = barbecuner;
    }

    //执行命令
    public abstract void excuteCommand();
}
